<div class="inner-content box green">
    <div class="title">
        <div><?php echo $catInfo['name'] ?></div>
    </div>
    <div class="content">
        <?php if(count($post) != 0): ?>
        <?php foreach($post as $p): ?>
        <div class="each_news">
            <div class="short_news_title">
                <a href="<?php echo site_url($this->mycommon->convertToAlias($p['title']) . '_' . $p['id']) ?>"><?php echo $p['title'] ?></a><span style="color:gray;font-size:11px;"> - <?php echo date('H:i:s d-m-Y', strtotime($p['modified'])) ?></span>
            </div>

            <div class="short_news_content">
                <a href="<?php echo site_url($this->mycommon->convertToAlias($p['title']) . '_' . $p['id']) ?>" class="img_tintuc">
                    <img src="<?php echo $this->mycommon->renderThumbImage($p['link_img'],120,88) ?>" width="120" height="88" alt="<?php echo $p['title'] ?>" title="<?php echo $p['title'] ?>"/>					 
                </a>
                <span><?php echo $p['description'] ?></span>
            </div>
        </div><!--/each_news-->
        <?php endforeach; ?>
        <?php else: ?>
        <p>Chuyên mục này chưa có tin bài. Xin vui lòng quay lại sau ! <a href="<?php echo site_url(); ?>">Quay lại</a></p>
        <?php endif; ?>
        <div class="pages">
            <?php echo $pagination; ?>
        </div>
    </div>
</div>